package com.community.contents.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.community.contents.dto.DiscussDTO;
import com.community.contents.entity.DiscussEntity;
import com.community.contents.mapper.DiscussMapper;
import com.community.contents.service.IDiscussService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 话题 服务实现类
 * </p>
 *
 * @author admin
 * @since 2023-02-22
 */
@Service
public class DiscussServiceImpl extends ServiceImpl<DiscussMapper, DiscussEntity> implements IDiscussService {

    @Override
    public void pageDto(Page<DiscussDTO> page) {
        baseMapper.pageDto(page);
    }
}
